<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%--                 登录前和登录后的页面                     --%>
<div class="topbar-profilebox">
						
	<!-- 登录前 -->
	<span class="topbar-profilebox-avatar icon-profile"></span>
	<span> 
		<a href="index.jsp">登录/注册</a>
	</span> 
	<!-- 登录前 -->
	
	<!-- 登录后 -->
	<div class="topbar-profilebox-wrapper"> 
	<span class="topbar-profilebox-username ng-binding">admin</span>
	<span class="topbar-profilebox-btn icon-arrow-down ng-scope"></span>
		<div class="dropbox topbar-profilebox-dropbox">
			<a class="icon-profile" href="${pageContext.request.contextPath}/user/index.jsp">个人中心</a>
			<a class="icon-star" href="${pageContext.request.contextPath}/user/collect.jsp">我的收藏</a> 
			<a class="icon-location" href="${pageContext.request.contextPath}/user/address.jsp">我的地址</a> 
			<a class="icon-setting" href="${pageContext.request.contextPath}/seller/index.jsp">商家管理</a>
			<a class="icon-setting" href="${pageContext.request.contextPath}/back/index.jsp">后台管理</a>
			<a class="icon-logout" href="${pageContext.request.contextPath}/index/index.jsp">退出登录</a>
		</div>
	</div>
	<!-- 登录后 -->
</div>